﻿// -----------------------------------------------------------------------
// <copyright file="IRecipe.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace WSU.PMP.BE.DATA.Abstract
{
    using System;
    using System.Collections.Generic;
    using WSU.PMP.BE.DATA.Abstract;
    using WSU.PMP.BE.DATA.EF;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public interface IRecipe
    {
        EfRecipe getRecipeById(string recipeId);

        EfRecipe getRecipeByName(string name);

        List<EfRecipe> getRecipesByName(string name);

        List<EfRecipe> getRecipesByDate(DateTime date);

        List<EfRecipe> getRecipesByDateRange(DateTime start, DateTime end);

        List<EfRecipe> getRecipesByItem(string barcode);

        List<EfRecipe> getRecipesByItemName(string name);

        void addRecipe(EfRecipe recipe);

        void editRecipe(EfRecipe recipe);

        void deleteRecipe(EfRecipe recipe);
    }
}
